/**
 * @class Holder for the general purpose callbacks to be used all over the system.
 * Has the functions that shall be used as callbacks in ajax calls with jquery.  
 */
UtilCb = new function(){
  /**
  * General callback for the load function.
  * Shows an alert in case of an error status. 
  * @returns void
  */
  this.load = function(responseText, textStatus, XMLHttpRequest) {
    if(textStatus=='error') {
      alert('Error Loading Ajax Page!');
    }
  }
  
  /**
  * General callback for the loadScript funcion.
  * Shows an alert in case of an error status. 
  * @returns void
  */
  this.loadScript = function(data,textStatus) {
    if(textStatus=='error') {
      alert('Error Loading JS Script!');
    }
  }
  
  
}